<!DOCTYPE html>
<html lang="en">
<body>

<input type="hidden" name="ipt" id="ipt" value="214" />

<script type="application/json" id="jsonData">{"Type":2,"I_CodeKey":2510050,"StockName":"上证50ETF","F_Close":3.454,"F_Low":3.448,"I_FromOpen":225,"I_date":200709,"I_time":144347,"I_timeNumber":7,"Seed":0,"I_pznx":7,"F_Qrr":0.575,"F_LSR":1.016,"F_Hsl":4.241,"D_amount":24.5887,"F_ntg":168.253,"GaokaiRatio":-0.029,"FakeMoonNum":0,"LongSunNum":0,"WorstLsr":9.900,"MaxSunBs":1.649,"MaxMoonBs":-1.813,"TrendOfLsr":26.199,"TrendOfTwo":-0.010,"ChangeRatio":0.203,"SumOfDkh":-144.355,"DayM5":3.322,"DayM24":2.997,"RefClose":3.447,"HalfMoons":2,"Tactics":""}</script>

<script type="application/javascript">

//子页面调用父页面的方法或获取父页面的变量值的方法
function testGetVal(){

    parent.testSonGetParentFunction();//可以调用父页面的方法

    alert(parent.globalVal);//获取父页面的变量值
}

//子页面的方法
function  parentGetSonVal(){
    alert("我是子页面的方法");
}
</script>

</body>

</html>